[][src]Crate genie_scx

A reader, writer, and converter for all versions of Age of Empires scenarios.

This crate aims to support every single scenario that exists. If a scenario file from any Age of Empires 1 or Age of Empires 2 version does not work, please upload it and file an issue!

Modules

convert

Automated scenario conversions.

Structs

DLCOptions
DecodeStringError

Failed to decode a string as WINDOWS-1252.

EncodeStringError

Failed to encode a string as WINDOWS-1252.

Map

Describes the terrain in a map.

ParseDLCPackageError

Could not parse a DLC package identifier because given number is an unknown DLC ID.

ParseDataSetError

Could not parse a data set because given number is an unknown data set ID.

ParseDiplomaticStanceError

Could not parse a diplomatic stance because given number is an unknown stance ID.

ParseStartingAgeError

Could not parse a starting age because given number refers to an unknown age.

SCXHeader
Scenario

A Scenario file.

ScenarioObject
Tile

A map tile.

Trigger

A trigger, describing automatic interactive behaviours in a scenario.

TriggerCondition

A trigger condition, describing when a trigger can fire.

TriggerEffect

A trigger effect, describing the response when a trigger fires.

TriggerSystem

The trigger system maintains an ordered list of triggers.

VersionBundle

All the versions an SCX file uses in a single struct.

Enums

DLCPackage

An HD Edition DLC identifier.

DataSet

The data set used by a scenario, HD Edition only.

DiplomaticStance

A player's diplomatic stance toward another player.

Error

Error type for SCX methods, containing all types of errors that may occur while reading or writing scenario files.

StartingAge

The starting age.

VictoryCondition

Type Definitions

Result

Result type for SCX methods.

SCXVersion

SCX Format version.